package myspring;

import java.lang.reflect.InvocationTargetException;

public class Test {
    public static void main(String[] args) throws NoSuchMethodException, IllegalAccessException, InvocationTargetException {

        MyAnnotationConfigApplicationContext context = new MyAnnotationConfigApplicationContext("myspring.entity");
        System.out.println(context.getBean("account"));
    }
}
